﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="E.Web.Teacher.internals.skillgroup.List" %>

<%@ Import Namespace="E.Model" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
  <title>班级列表</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
  <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/t_main.css" type="text/css" media="all" />
  <script type="text/javascript" src="/js/Common.js"></script>
  <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
    <style type="text/css">
        .style1
        {
            height: 20px;
            width: 135px;
        }
        .style3
        {
            border: solid 1px #9C9A9C;
            background-color: #EFEFEF;
            text-align: center;
            font-size: 10pt;
            vertical-align: middle;
            height: 20px;
            width: 855px;
        }
        .style5
        {
            border: solid 1px #9C9A9C;
            background-color: #EFEFEF;
            text-align: center;
            font-size: 10pt;
            vertical-align: middle;
            height: 20px;
            width: 83px;
        }
      .style6
      {
          width: 214px;
      }
      .style8
      {
          height: 20px;
          width: 855px;
      }
      .style9
      {
          height: 20px;
          width: 83px;
      }
      .style10
      {
          height: 20px;
          width: 214px;
      }
    </style>
</head>
<body>
  <form id="form1" runat="server">
    <div class="m_top"></div>
    <div class="block_2">
      <div style="width:650px; height:22px;">
        <div class="title">&nbsp;搜索条件</div>
      </div>
      <div class="spe_line_2"></div>
      <div style="width:650px; height:23px; margin-top:6px;">
        <div class="fl" style="line-height:23px;">技能组名称：</div>
        <div class="fl"><asp:TextBox ID="txtSkillGroupName" runat="server"></asp:TextBox></div>
        <div class="fl">
            <asp:ImageButton ID="btnSearch" Height="22px" Width="52px" runat="server" 
                ImageUrl="~/images/btn/search.gif" onclick="btnSearch_Click" />
            <asp:ImageButton ID="btnNew" Height="22px" Width="52px" runat="server" ImageUrl="~/images/btn/add_2.gif" 
                onclick="btnNew_Click"/>
        </div>
       
      </div>
    </div>
    
    <div class="block_2" style="height:340px; display:table;">
      <div style="width:650px; height:22px;">
        <div class="title">&nbsp;搜索结果</div>
      </div>
      <div class="spe_line_2"></div>
      
      <% if (list != null && list.Count > 0) { %>
    
      <div style=" width:786px; display:table;height: 112px;">
        <table style="width: 631px">
            <tr>
                <td style="border:solid 1px #9C9A9C;background-color:#EFEFEF;text-align:center;font-size:10pt;vertical-align:middle;" 
                    class="style6">编号</td>
                <td class="style3">技能组名称</td>
                <td class="style5">操作</td>
            </tr>
        
        <% foreach (SkillGroup model in list)
           { %>
           <tr>
                <td style="border:solid 1px #9C9A9C;font-size:9pt;" class="style10"><%=model.ID %></td>
                <td style="border:solid 1px #9C9A9C;font-size:9pt;" class="style8"><%=model.Name %></td>
                <td style="border:solid 1px #9C9A9C;font-size:9pt;" class="style9"><a href="Edit.aspx?id=<%=model.ID%> &act=u">查看</a></td>

           </tr>
        <% } %>
        </table>
        
      </div>
      
      <%} %>
    </div>
  </form>
</body>
</html>
